<?php
   //import system class
   require_once SYSTEM_PATH . '/class/db.class.php';
   Db::config( 'driver',   'mysql' );
   Db::config( 'host',     'localhost' );
   Db::config( 'database', 'app_karaoke' );
   Db::config( 'user',     'root' );
   Db::config( 'password',     '' );
   $db = Db::instance();
?>